from random import randint
print("1")
print("200000")
# print(" ".join([str(randint(1, 200000)) for _ in range(200000)]))
# print(" ".join([str(randint(1, 200000)) for _ in range(200000)]))
print(" ".join(["200" for _ in range(200000)]))
print(" ".join(["200000" for _ in range(200000)]))

